package com.suntimes.guangjiegou.fragment.collocation;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;

import com.suntimes.guangjiegou.R;
import com.suntimes.guangjiegou.fragment.BaseFragment;

public class CollocationFragment extends BaseFragment implements OnClickListener {
	
	private View mItem;
	
	protected View loadView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.page_collocation, null, false);
		mItem = view.findViewById(R.id.page_collocation_item);
		mItem.setOnClickListener(this);
		return view;
	}
	
	@Override
	public void onResume() {
		super.onResume();
	}
	
	@Override
	public void onPause() {
		super.onPause();
	}
	
	@Override
	public void onDestroy() {
		super.onDestroy();
	}

	@Override
	public void onDestroyView() {
		super.onDestroyView();
	}

	@Override
	public void onClick(View v) {
		CollocationDetailFragment detailFragment = new CollocationDetailFragment();
		getNavigationFragment().push(detailFragment);
	}

	

}
